package com.hp.test.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Objects;



@TableName("sys_user")
public class SysUser {
    @TableId("id")
    private String id;
    @TableField("username")
    private String username;
    @TableField("password")
    private String password;
    @TableField("salt")
    private String salt;
    @TableField("name")
    private String name;
    @TableField("birthday")
    private Date birthday;
    @TableField("phone")
    private String phone;
    @TableField("email")
    private String email;
    @TableField("create_time")
    private Timestamp createTime;
    @TableField("dept_id")
    private String deptId;
    @TableField("tenant_id")
    private String tenantId;
    @TableField("status")
    private Integer status;
    @TableField("sex")
    private Integer sex;
    @TableField("last_set")
    private String lastSet;
    @TableField("person_card_id")
    private String personCardId;
    @TableField("introduce")
    private String introduce;
    @TableField("city")
    private String city;
    @TableField("city_id")
    private String cityId;
    @TableField("address_id")
    private String addressId;
    @TableField("address")
    private String address;
    @TableField("regist_company")
    private String registCompany;
    @TableField("district")
    private String district;
    @TableField("district_id")
    private String districtId;
    @TableField("business_cen")
    private String businessCen;
    @TableField("business_cen_id")
    private String businessCenId;
    @TableField("store")
    private String store;
    @TableField("person_card")
    private String personCard;
    @TableField("name_card")
    private String nameCard;
    @TableField("biz_licen")
    private String bizLicen;
    @TableField("head_img")
    private String headImg;
    @TableField("auth")
    private String auth;
    @TableField("msg")
    private String msg;

    //@Id
    //@Column(name = "id", nullable = false, length = 50)
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

   // @Basic
    //@Column(name = "username", nullable = true, length = 100)
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

   // @Basic
    //@Column(name = "password", nullable = true, length = 150)
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

   // @Basic
    //@Column(name = "salt", nullable = true, length = 150)
    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

   // @Basic
    //@Column(name = "name", nullable = true, length = 100)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

   // @Basic
    //@Column(name = "birthday", nullable = true)
    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

   // @Basic
    //@Column(name = "phone", nullable = true, length = 20)
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

   // @Basic
    //@Column(name = "email", nullable = true, length = 150)
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

   // @Basic
    //@Column(name = "create_time", nullable = true)
    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

   // @Basic
    //@Column(name = "dept_id", nullable = true, length = 50)
    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

   // @Basic
    //@Column(name = "tenant_id", nullable = true, length = 50)
    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

   // @Basic
    //@Column(name = "status", nullable = true)
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

   // @Basic
    //@Column(name = "sex", nullable = true)
    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

   // @Basic
    //@Column(name = "last_set", nullable = true, length = 16383)
    public String getLastSet() {
        return lastSet;
    }

    public void setLastSet(String lastSet) {
        this.lastSet = lastSet;
    }

   // @Basic
    //@Column(name = "person_card_id", nullable = true, length = 20)
    public String getPersonCardId() {
        return personCardId;
    }

    public void setPersonCardId(String personCardId) {
        this.personCardId = personCardId;
    }

   // @Basic
    //@Column(name = "introduce", nullable = true, length = 500)
    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

   // @Basic
    //@Column(name = "city", nullable = true, length = 50)
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

   // @Basic
    //@Column(name = "city_id", nullable = true, length = 40)
    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

   // @Basic
    //@Column(name = "address_id", nullable = true, length = 40)
    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

   // @Basic
    //@Column(name = "address", nullable = true, length = 200)
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

   // @Basic
    //@Column(name = "regist_company", nullable = true, length = 255)
    public String getRegistCompany() {
        return registCompany;
    }

    public void setRegistCompany(String registCompany) {
        this.registCompany = registCompany;
    }

   // @Basic
    //@Column(name = "district", nullable = true, length = 40)
    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

   // @Basic
    //@Column(name = "district_id", nullable = true, length = 40)
    public String getDistrictId() {
        return districtId;
    }

    public void setDistrictId(String districtId) {
        this.districtId = districtId;
    }

   // @Basic
    //@Column(name = "business_cen", nullable = true, length = 200)
    public String getBusinessCen() {
        return businessCen;
    }

    public void setBusinessCen(String businessCen) {
        this.businessCen = businessCen;
    }

   // @Basic
    //@Column(name = "business_cen_id", nullable = true, length = 40)
    public String getBusinessCenId() {
        return businessCenId;
    }

    public void setBusinessCenId(String businessCenId) {
        this.businessCenId = businessCenId;
    }

   // @Basic
    //@Column(name = "store", nullable = true, length = 200)
    public String getStore() {
        return store;
    }

    public void setStore(String store) {
        this.store = store;
    }

   // @Basic
    //@Column(name = "person_card", nullable = true, length = 255)
    public String getPersonCard() {
        return personCard;
    }

    public void setPersonCard(String personCard) {
        this.personCard = personCard;
    }

   // @Basic
    //@Column(name = "name_card", nullable = true, length = 255)
    public String getNameCard() {
        return nameCard;
    }

    public void setNameCard(String nameCard) {
        this.nameCard = nameCard;
    }

   // @Basic
    //@Column(name = "biz_licen", nullable = true, length = 200)
    public String getBizLicen() {
        return bizLicen;
    }

    public void setBizLicen(String bizLicen) {
        this.bizLicen = bizLicen;
    }

   // @Basic
    //@Column(name = "head_img", nullable = true, length = 160)
    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

   // @Basic
    //@Column(name = "auth", nullable = true, length = 255)
    public String getAuth() {
        return auth;
    }

    public void setAuth(String auth) {
        this.auth = auth;
    }

   // @Basic
    //@Column(name = "msg", nullable = true, length = 500)
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SysUser sysUser = (SysUser) o;
        return Objects.equals(id, sysUser.id) &&
                Objects.equals(username, sysUser.username) &&
                Objects.equals(password, sysUser.password) &&
                Objects.equals(salt, sysUser.salt) &&
                Objects.equals(name, sysUser.name) &&
                Objects.equals(birthday, sysUser.birthday) &&
                Objects.equals(phone, sysUser.phone) &&
                Objects.equals(email, sysUser.email) &&
                Objects.equals(createTime, sysUser.createTime) &&
                Objects.equals(deptId, sysUser.deptId) &&
                Objects.equals(tenantId, sysUser.tenantId) &&
                Objects.equals(status, sysUser.status) &&
                Objects.equals(sex, sysUser.sex) &&
                Objects.equals(lastSet, sysUser.lastSet) &&
                Objects.equals(personCardId, sysUser.personCardId) &&
                Objects.equals(introduce, sysUser.introduce) &&
                Objects.equals(city, sysUser.city) &&
                Objects.equals(cityId, sysUser.cityId) &&
                Objects.equals(addressId, sysUser.addressId) &&
                Objects.equals(address, sysUser.address) &&
                Objects.equals(registCompany, sysUser.registCompany) &&
                Objects.equals(district, sysUser.district) &&
                Objects.equals(districtId, sysUser.districtId) &&
                Objects.equals(businessCen, sysUser.businessCen) &&
                Objects.equals(businessCenId, sysUser.businessCenId) &&
                Objects.equals(store, sysUser.store) &&
                Objects.equals(personCard, sysUser.personCard) &&
                Objects.equals(nameCard, sysUser.nameCard) &&
                Objects.equals(bizLicen, sysUser.bizLicen) &&
                Objects.equals(headImg, sysUser.headImg) &&
                Objects.equals(auth, sysUser.auth) &&
                Objects.equals(msg, sysUser.msg);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, username, password, salt, name, birthday, phone, email, createTime, deptId, tenantId, status, sex, lastSet, personCardId, introduce, city, cityId, addressId, address, registCompany, district, districtId, businessCen, businessCenId, store, personCard, nameCard, bizLicen, headImg, auth, msg);
    }
}
